<template>
	<view class="shoucang">
		<headertop str1="oridei" title="关键词"></headertop>
		<view class="shoucangback">

		</view>
		<view class="centerbox">
			<view class="allspbox">
				<view class="itembox" v-for="item in  6">
					<image src="https://shop.hacuu.com/static/image@2x.png" class="fmimg" mode=""></image>
					<view class="texts">
						<view class="t1">
							这是一个上哦名称这是一个上哦名称这是一个上哦名称这是一个上哦名称
						</view>
						<view class="t2">
							这是商品内容描述这是商品内容描述这是商品内容描述
						</view>
						<view class="jiageline">
							<view class="jige">
								￥109<span style="font-size: 20rpx;">.00</span>
							</view>
							<image src="https://shop.hacuu.com/static/Frame@2x(3).png" class="gwcicon" mode=""></image>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
	import headertop from '@/components/header.vue'
</script>

<style lang="scss">
	.shoucang {
		width: 100%;
		position: relative;
		overflow: hidden;

		.shoucangback {
			width: 750rpx;
			height: 314rpx;
			background: linear-gradient(180deg, #FCE6CD 0%, rgba(252, 230, 205, 0) 100%);
			position: absolute;
			z-index: -1;
		}

		.centerbox {
			width: 686rpx;
			margin: auto;
			margin-top: 184rpx;
			overflow: hidden;

			.allspbox {
				margin-top: 28rpx;
				overflow: hidden;
				display: flex;
				flex-wrap: wrap;
				justify-content: space-between;
				align-items: center;
				width: 100%;

				.itembox {
					width: 334rpx;
					height: 492rpx;
					background: #F7F8FA;
					border-radius: 20rpx 20rpx 20rpx 20rpx;
					overflow: hidden;
					display: flex;
					flex-direction: column;
					align-items: center;
					margin-bottom: 24rpx;

					.fmimg {
						width: 318rpx;
						height: 318rpx;
						border-radius: 16rpx 16rpx 0rpx 0rpx;
					}

					.texts {
						width: 318rpx;
						margin: auto;
						overflow: hidden;
						margin-top: 18rpx;

						.jiageline {
							width: 100%;
							display: flex;
							justify-content: space-between;
							align-items: center;
							margin-top: 24rpx;

							.jige {
								font-family: PingFang SC, PingFang SC;
								font-weight: bold;
								font-size: 32rpx;
								color: #F53F3F;
							}

							.gwcicon {
								width: 36rpx;
								height: 36rpx;
								margin-right: 24rpx;
							}
						}

						.t1 {
							font-family: PingFang SC, PingFang SC;
							font-weight: 500;
							font-size: 24rpx;
							color: #1D2129;
							overflow: hidden;
							text-overflow: ellipsis;
							display: -webkit-box;
							-webkit-line-clamp: 1;
							/* 限制行数为2 */
							-webkit-box-orient: vertical;
						}

						.t2 {
							font-family: PingFang SC, PingFang SC;
							font-weight: 400;
							font-size: 22rpx;
							color: #4E5969;
							overflow: hidden;
							text-overflow: ellipsis;
							display: -webkit-box;
							-webkit-line-clamp: 1;
							/* 限制行数为2 */
							-webkit-box-orient: vertical;
							margin-top: 14rpx;
						}
					}
				}
			}

			.linetop {
				width: 100%;
				display: flex;
				justify-content: space-between;
				align-items: center;

				.title {
					font-family: PingFang SC, PingFang SC;
					font-weight: bold;
					font-size: 28rpx;
					color: #4E5969;
				}

				.glsc {
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 24rpx;
					color: #1D2129;
				}
			}
		}
	}
</style>